﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MTQ.Model
{
    /// <summary>
    /// 定义参数的公用类
    /// </summary>
    public class ParamterQuery
    {

        private int pageIndex = 1;
        /// <summary>
        /// 参数当前第几页
        /// </summary>
        public int PageIndex
        {
            get
            {
                return pageIndex;
            }
            set
            {
                pageIndex = value;
            }
        }

        private int pageSize = 20;
        /// <summary>
        /// 参数每页显示多少条数据
        /// </summary>
        public int PageSize
        {
            get
            {
                return pageSize;
            }
            set
            {
                pageSize = value;
            }
        }

        private int total = 1;
        /// <summary>
        /// 总数是多少
        /// </summary>
        public int Total
        {
            get
            {
                return total;
            }
            set
            {
                total = value;
            }
        }



        public string Order { get; set; }

        public string Sort { get; set; }

        public int Offset { get; set; }

        public string Searchkey { get; set; }


        /// <summary>
        /// 权限
        /// </summary>
        public List<string> UserControlProjectNumber { get; set; }
    }
}
